﻿using Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace Hotfix
{
    [MessageHandler(AppType.DB)]
    public class DBHandler : AMRpcHandler<G2D_Test, D2G_Test>
    {
        protected override void Do(Session session, G2D_Test request, Action<D2G_Test> reply)
        {
            try
            {
                D2G_Test b2g_Test = new D2G_Test { Id = 1 };
                reply(b2g_Test);
            }
            catch (Exception)
            {
                Log.Error("处理错误！");
            }
        }
    }
}